package com.qww.exec05;

public class Exec05 {

    public static void main(String[] args) {
        Dog d = new Dog();
        d.bark(1);
        d.bark("");
        d.bark(true);
    }
}

class Dog {
    void bark(int x) {
        System.out.println("barking");
    }

    void bark(String x) {
        System.out.println("howling");
    }

    void bark(boolean x) {
        System.out.println("hanhan");
    }
}
